<div class="clearfix table-responsive">
	<div class="alert alert-success alert-dismissable">
		<i class="fa fa-bullhorn alert-link"></i>管理网站页面
	</div>
	<table class="table jinyun-table table-hover vertical-middle jinyun-form">
		<thead class="navbar-inner">
			<tr>
				<th class="text-left">页面名称</th>
				<th >设计</th>
				<th class="text-right" style="word-break : break-all;">删除</th>
			</tr>
		</thead>
			<tr ng-repeat="page in pagedata.item.pc_pages">
				<td ng-if="$index>0"><label onclick="$(this).hide();$(this).next().show();">{{page.title}}</label><input style="display:none;" type="text" ng-model="page.title" onblur="$(this).hide();$(this).prev().show();"/></td>
				<td ng-if="$index==0">{{page.title}}</td>
				<td ><a href="javascript:;" ng-click="pagedata.current_page=page;pagedata.show_edit=false;" class="btn btn-default">设计</a></td>
				<td class="text-right">
					<a ng-show="$index>0" href="javascript:;" ng-click="pagedata.item.pc_pages.splice($index,1)" title="删除" class="btn btn-default btn-sm"><i class="fa fa-times"></i></a>
				</td>
				
			</tr>
			<tr>
						<td colspan='3' class="text-left">
							<a class="color-gray add-new-keyword" href="javascript:;" ng-click="pagedata.newpage={'title':'未设置','childs':[]};pagedata.item.pc_pages.push(pagedata.newpage)">
								<span class="add-icon"><i class="fa fa-plus"></i></span>
								<span class="text">添加页面</span>
							</a>
						</td>
			</tr>
	</table>
</div>